#app,
body,
html {
  height: 100%;
}
body {
  background-color: @background-color-base;
  font-size: 14px;
}

// 隐藏滚动条样式
.i-scrollbar-hide {
  &::-webkit-scrollbar {
    width: 0;
  }
  &::-webkit-scrollbar-track {
    background-color: transparent;
  }
  &::-webkit-scrollbar-thumb {
    background: #e8eaec;
  }
}

// 极简滚动条样式
.i-scrollbar {
  &::-webkit-scrollbar {
    width: 6px;
  }
  &::-webkit-scrollbar-track {
    background-color: transparent;
  }
  &::-webkit-scrollbar-thumb {
    background: #808695;
    border-radius: 4px;
  }
}

// 去除 Table 的左右边框，更精简
.i-table-no-border {
  .ivu-table th {
    background-color: #fff;
  }
  .ivu-table-wrapper,
  .ivu-table tr:last-child td {
    border: none;
  }
  .ivu-table:before,
  .ivu-table:after {
    display: none;
  }
}

.fontColor999 {
  color: #999;
}

.next-btn {
  .ivu-btn {
    font-size: 16px;
    height: 40px !important;
    line-height: 40px !important;
  }
}

.page-header {
  margin-bottom: 20px;
}

.page-next {
  .ivu-select {
    height: 40px;
    line-height: 40px;
  }
  .ivu-input {
    height: 40px;
  }
  .ivu-select-single .ivu-select-selection {
    height: 40px;
    line-height: 40px;
  }
}

.page-next {
  .ivu-select-selected-value,
  .ivu-select-placeholder {
    height: 40px !important;
    line-height: 40px !important;
  }
}

.home-index-content {
  border-radius: 8px;
  margin-bottom: 15px;
}

.action-search-btn {
  margin-top: 20px;
  border-left: 2px solid #eee;
  padding-left: 20px;
  display: flex;
  justify-content: right;
  .ivu-btn {
    margin-right: 20px;
  }
  .ivu-btn:last-child {
    margin-right: 0;
  }
  float: right;
}

.main-box {
  margin-top: 20px;
}

// 页面详情
.page-main-content {
  margin-top: 20px;
  h3 {
    font-size: 16px;
    margin-top: 20px;
  }
}
.page-main-content-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  h2 {
    font-size: 24px;
    font-weight: normal;
  }
}

.page-main-form-table {
  margin-top: 20px;
}

.action-table-btn {
  margin-top: 20px;
  .ivu-btn {
    margin-right: 15px;
  }
}

// 重复率
.repetition-rate {
  display: flex;
  span {
    margin-right: 5px;
  }
}

.home-page-content {
  padding: 20px;
  border-radius: 6px;
  background-color: #fff;
}

.com-action-search-btn {
  display: flex;
  justify-content: flex-end;
  .ivu-btn {
    position: relative;
    margin-left: 20px;
    &:first-of-type::after {
      position: absolute;
      top: 0;
      left: -20px;
      content: "";
      width: 2px;
      height: 100%;
      background-color: #eee;
    }
  }
  .btn-plain-main {
    margin-left: 20px;
  }
}

.com-action-btn {
  .ivu-btn,
  .btn-plain-main {
    margin-right: 15px;
  }
  &.btn-plain-main {
    margin-right: 15px;
  }
}

.com-action-table-btn {
  margin-bottom: 20px;
  .ivu-btn,
  .btn-plain-main {
    margin-right: 15px;
  }
}

.ivu-menu-submenu-title {
  color: rgba(255, 255, 255, 1) !important;
}
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item,
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title {
  color: rgba(255, 255, 255, 1);
}

ul {
  list-style: none;
}

.ivu-input,.ivu-select-selection{
  border:none;
  background: #F2F3F5;
}
// 恢复input组件默认样式
.com-show-input-border {
  .ivu-input,
  .ivu-select-selection{
    border: 1px solid #dcdee2;
    background: #fff;
  }
}

.ivu-input-word-count{
  background: #F2F3F5;
}

.ivu-modal {
  .ivu-form-item-label {
    color: #7B8591;
  }
  .ivu-modal-header {
    border-bottom: none;
  }
  .ivu-modal-footer {
    border-top: none;
    padding-top: 0;

    .btn-plain-main {
      margin-right: 15px;
    }
  }
  // 全局修改modal弹窗底部按钮样式
  .ivu-modal-confirm-footer {
    text-align: center;
    button + button {
      margin-left: 20px;
      
    }
    .ivu-btn-text {
      color: #2d8cf0;
      background-color: #e5f1ff;
      border-color: #e5f1ff;
    }
  }
}

// 分割线
.ivu-divider-horizontal {
  margin: 20px 0;
}

// 只读表格item样式
.com-form-item {
  .ivu-form-item {
    margin-bottom: 0;
  }
  .ivu-form-item-label {
    color: #7B8591;
  }
}

.form-reset{
  .ivu-form-item {
    width: 100%;
    margin-bottom: 0;
    display: flex;
  }
  .ivu-form-item-content{
    width: 100%;
    display: flex;
  }
}